home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-08-22 | 740 b | 23 lines | [TEXT/GEOL] |
- Item 9659636 19-July-89 13:15
-
- From: LINS Lins, Chuck
-
- To: ARBOGAST Peat Marwick, Chris Arbogast
-
- cc: MACAPP.TECH$ MACAPP Tech
-
- Sub: Type Casting (Objects)
-
- Chris,
-
- You may want to try returning your new object through a function instead as a
- VAR parameter to a procedure. For example, see the MacApp™ routine NewList.
- Though I must agree that type transfer/coercion should be a compile-time
- activity that simply informs the compiler to treat the given variable as some
- other type (including an object class). (This is the way Wirth's defined type
- transfer in Modula-2 and Oberon).
-
- Chuck Lins
- Apple Computer, Inc.
-
-